import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import dataV from '@jiaminghi/data-view'
import 'animate.css';
Vue.use(dataV)
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.filter('getLevel',function(level) {
    switch (level) {
        case '1':
            return "餐厅经理";
            break;
        case '2':
            return "餐厅副经理";
            break;
        case '3':
            return "储备经理";
            break;
        default:
            return "普通员工"
}
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
